package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户订阅对象 ability_subscribe
 * 
 * @author ruoyi
 * @date 2024-08-19
 */
public class AbilitySubscribe extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    Integer uc;

    /** 订阅id */
    @Excel(name = "订阅id")
    private Long ID;

    /** 用户id */
    @Excel(name = "用户id")
    private Long Uid;

    /** 服务id */
    @Excel(name = "服务id")
    private String Sid;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date Sdata;

    String uname;
    String sname;

    public Integer getUc() {
        return uc;
    }

    public void setUc(Integer uc) {
        this.uc = uc;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    /** 审核状态 0未审核 1已审核 */
    private Long subStatus;

    public void setID(Long ID) 
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setUid(Long Uid) 
    {
        this.Uid = Uid;
    }

    public Long getUid() 
    {
        return Uid;
    }
    public void setSid(String Sid) 
    {
        this.Sid = Sid;
    }

    public String getSid() 
    {
        return Sid;
    }
    public void setSdata(Date Sdata) 
    {
        this.Sdata = Sdata;
    }

    public Date getSdata() 
    {
        return Sdata;
    }
    public void setSubStatus(Long subStatus) 
    {
        this.subStatus = subStatus;
    }

    public Long getSubStatus() 
    {
        return subStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("Uid", getUid())
            .append("Sid", getSid())
            .append("Sdata", getSdata())
            .append("subStatus", getSubStatus())
            .toString();
    }
}
